/**
 *  ward @ 2019
 *  harrydeep@wardyan.top
 */
package top.wardyan.po;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Table;

/**
 * 
 * @author ward 2019年2月27日
 */
public class WTable<T extends Composite> extends Table{

	/**
	 * @param parent
	 * @param style
	 */
	public WTable(T parent) {
		this(parent, null);
	}
	
	public WTable(T parent, Rectangle bound) {
		super(parent, SWT.FULL_SELECTION | SWT.BORDER);
		if(bound != null)
			this.setBounds(bound);
		
		this.setHeaderVisible(true);
		this.setLinesVisible(true);
		
	}

	@Override
	protected void checkSubclass() {
	}
	
	

}
